package com.umakr.ax.app.web;

import java.util.Map;
import org.springframework.ui.ModelMap;
import com.umakr.ax.common.model.ShowFabulous;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import com.umakr.ax.core.base.AbstractController;

/**
 * <p>
 * 秀点赞  前端控制器
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2017-12-30
 */
@Controller
@RequestMapping("/api/web/showFabulous")
public class ShowFabulousWebController extends AbstractController {

	@Override
	@ApiOperation(value = "查询秀点赞")
	@PutMapping(value = "/read/list")
	public Object query(ModelMap modelMap, @RequestBody Map<String, Object> param) {
		return super.query(modelMap, param);
	}

	@ApiOperation(value = "秀点赞详情")
	@PutMapping(value = "/read/detail")
	public Object get(ModelMap modelMap, @RequestBody ShowFabulous param) {
		return super.get(modelMap, param);
	}

	@PostMapping
	@ApiOperation(value = "修改秀点赞")
	public Object update(ModelMap modelMap, @RequestBody ShowFabulous param) {
		return super.update(modelMap, param);
	}

	@DeleteMapping
	@ApiOperation(value = "删除秀点赞")
	public Object delete(ModelMap modelMap, @RequestBody ShowFabulous param) {
		return super.delete(modelMap, param);
	}
}